/** @file draw.h
    @brief Header file for drawing ...

    @author Juan Pablo Carbajal
    
    @date 21. July, 2008
    
*/
#ifndef _DRAW_H_
#define _DRAW_H_

#ifdef __APPLE__
	#include "OpenGL/gl.h"
	#include "OpenGL/glu.h"
	#include <GLUT/glut.h>
#else
#ifdef WIN32
	#include <windows.h>
#endif
	#include <GL/gl.h>
	#include <GL/glext.h>
	#include <GL/glu.h>
	#include <GL/glut.h>

#endif

#include "chipmunk/chipmunk.h"
#include "string.h"
#include "util.h"

#include <math.h>
#include "dom/Sa2dDom.h"
#define SLEEP_TICKS 30

// Variables
extern cpSpace *space;
extern cpBody *staticBody;

extern int ticks;

//static elem * aux;

//Prototypes
extern void glutStuff(int argc, const char *argv[], performer* performer);
extern void run();

#endif
